package com.qixin.api.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 续租表
 * </p>
 *
 * @author 李许多
 * @since 2018-11-29
 */
@TableName("xuzu")
public class Xuzu extends Model<Xuzu> {

    private static final long serialVersionUID = 1L;

	/**
	 * 别名设置
	 */
	@TableField(exist = false)
	private String  t;

	/**
	 * 新的结束时间别名
	 */
	@TableField(exist = false)
	private String c;



	/**
     * id
     */
	private Long id;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Long createTime;
    /**
     * 关联车辆id
     */
	@TableField("carId")
	private Long carId;
    /**
     * 原租车结束时间
     */
	@TableField("end_time")
	private Long endTime;
    /**
     * 续租结束时间
     */
	@TableField("new_endTime")
	private Long newEndTime;
    /**
     * 关联用户id
     */
	@TableField("user_id")
	private Long userId;
	/**
	 * 企业名称
	 */
	@TableField(exist = false)
	private String ptName;
	/**
	 * 联系人手机号
	 */
	@TableField(exist = false)
	private Long callPhone;
	/**
	 * 联系人名称
	 */
	@TableField(exist = false)
	private String callName;
	/**
	 * 车辆名
	 */
	@TableField(exist = false)
	private String carName;
	/**
	 * 车辆品牌
	 */
	@TableField(exist = false)
	private String carBrand;
	/**
	 * 车辆型号
	 */
	@TableField(exist = false)
	private String carType;


	/**
	 * 车牌
	 */
	@TableField(exist = false)
	private String carNumber;

	public String getT() {
		return t;
	}

	public void setT(String t) {
		this.t = t;
	}

	public String getC() {
		return c;
	}

	public void setC(String c) {
		this.c = c;
	}

	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	public String getCarType() {
		return carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}

	public String getCarBrand() {
		return carBrand;
	}

	public void setCarBrand(String carBrand) {
		this.carBrand = carBrand;
	}

	public String getCarName() {
		return carName;
	}

	public void setCarName(String carName) {
		this.carName = carName;
	}

	public String getCallName() {
		return callName;
	}

	public void setCallName(String callName) {
		this.callName = callName;
	}

	public Long getCallPhone() {
		return callPhone;
	}

	public void setCallPhone(Long callPhone) {
		this.callPhone = callPhone;
	}

	public String getPtName() {
		return ptName;
	}

	public void setPtName(String ptName) {
		this.ptName = ptName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getCarId() {
		return carId;
	}

	public void setCarId(Long carId) {
		this.carId = carId;
	}

	public Long getEndTime() {
		return endTime;
	}

	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

	public Long getNewEndTime() {
		return newEndTime;
	}

	public void setNewEndTime(Long newEndTime) {
		this.newEndTime = newEndTime;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Xuzu{" +
				"id=" + id +
				", createTime=" + createTime +
				", carId=" + carId +
				", endTime=" + endTime +
				", newEndTime=" + newEndTime +
				", userId=" + userId +
				", ptName='" + ptName + '\'' +
				", callPhone=" + callPhone +
				", callName='" + callName + '\'' +
				", carName='" + carName + '\'' +
				", carBrand='" + carBrand + '\'' +
				", carType='" + carType + '\'' +
				", carNumber='" + carNumber + '\'' +
				", t='" + t + '\'' +
				'}';
	}
}
